package com.ljy.entity;

import lombok.Data;

import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

@Data
public class Lease {
    private Integer id;
    private String name;
    private Integer categoryId;
    private String categoryName;
    private String tag;
    private String image;
    private Short express; //提取方式 配送1,自提2
    private Short scope; //区域1:校内限发,区域2:校外区域发
    private String pickup;//自提点
    private String description;
    private String service; //售后服务
    private String video;
    private Integer salesVolume;
    private Integer stock;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private Integer status;//状态0停售，1在售，2库存不足
    private Short payMethod;//支付方式，1微信，2支付宝
    private Boolean invoice;//是否发票
    private List<ShopImage> shopImages = new ArrayList<>();
    private List<LeaseSpec>specs = new ArrayList<>();
}
